using System;
using System.Collections.Generic;

namespace ERP.Web.Models.OrderManagement
{
    public class SalesOrderViewModel
    {
        public string OrderCode { get; set; }
        public string OrderName { get; set; }
        public string CustomerCode { get; set; }
        public string CustomerName { get; set; }
        public DateTime OrderDate { get; set; }
        public DateTime DeliveryDate { get; set; }
        public string SettlementMethod { get; set; }
        public string OrderCategory { get; set; }
        public string Salesperson { get; set; }
        public string QualityRequirement { get; set; }
        public int Remark { get; set; }
        public List<SalesOrderProductDetailViewModel> Products { get; set; } = new List<SalesOrderProductDetailViewModel>();
    }

    public class SalesOrderProductDetailViewModel
    {
        public string ProductCode { get; set; }
        public string ProductName { get; set; }
        public string Material { get; set; }
        public string Color { get; set; }
        public int OrderQuantity { get; set; }
        public string UnitQuantity { get; set; }
        public decimal Amount { get; set; }
        public DateTime? OrderGoodsTime { get; set; }
        public DateTime? DeliveryTime { get; set; }
    }
} 